package com.dgut.courses_selecting_sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dgut.courses_selecting_sys.entity.Course;
import com.dgut.courses_selecting_sys.entity.User;
import com.dgut.courses_selecting_sys.vo.CourseVo;
import com.dgut.courses_selecting_sys.vo.PageVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yuec
 * @since 2020-08-14
 */
public interface ICourseService extends IService<Course> {
    public PageVo<Course> getDataByCourseVo(CourseVo courseVo) throws Exception;

    public List<Course> courseForChoose(User user) throws Exception;

    public List checkUserCourseForChoose(User user);

    public boolean reviewAndConfirm(long start, long end, long now, List<Integer> list);

/*    @Deprecated
    public int checkCourseStatus();*/
}
